<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="aa"></div>
    <script>
        let aa = document.getElementById("aa")
        aa.innerHTML = "<strong>我是盒子标签</strong>"/*innerHTML可以解析内容*/
        //aa.innerText= "<strong>我是盒子标签</strong>"/*innerText为纯文本*/
    </script>
</body>
</html>